package com.spx.kernel.rap;

import org.eclipse.rwt.lifecycle.IEntryPoint;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.WorkbenchAdvisor;

import com.spx.kernel.ApplicationWorkbenchAdvisor;

public class KernelEntryPoint implements IEntryPoint
{
	
	
	

	public KernelEntryPoint()
	{
		
	}

	@Override
	public int createUI()
	{

		final Display display = PlatformUI.createDisplay();
		final WorkbenchAdvisor advisor = new ApplicationWorkbenchAdvisor();
		return PlatformUI.createAndRunWorkbench(display, advisor);

	}

}
